package model;

public class User {

	private String name, password, info, phone;
	private int uid, type;

	public User() {
		this.name = "";
		this.password = "";
		this.info = "";
		this.phone = "";
		this.type = 0;
	}

	public User(int uid, String name, String password, int type, String info, String phone) {
		this.name = name;
		this.password = password;
		this.info = info;
		this.phone = phone;
		this.uid = uid;
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

}
